/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
}

.container {
    display: flex;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    height: 100vh;
    position: fixed; /* 固定左侧导航栏 */
    top: 0; /* 顶部距离为0，保持在页面顶部 */
    left: 0; /* 固定在页面的最左侧 */
}


.sidebar-header h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin: 20px 0;
}

.sidebar-menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.sidebar-menu li a:hover {
    background-color: #34495e;
}

/* Main Content */
.main-content {
    margin-left: 260px; /* 留出足够空间以避免与固定的侧边栏重叠 */
    padding: 20px;
}

.header {
    background-color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.header p {
    font-size: 16px;
    color: #7f8c8d;
}

.card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    text-align: center;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card p {
    font-size: 18px;
}

.btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-primary {
    background-color: #3498db;
}

.btn-edit {
    background-color: #2ecc71;
}

.btn-delete {
    background-color: #e74c3c;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #ecf0f1;
    color: #34495e;
}

table td {
    background-color: white;
}

table button {
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
}
/* Paper Detail Page Styles */
.paper-detail-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.detail-box {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-box h2, .detail-box h3 {
    color: #34495e;
    font-size: 20px;
    margin-bottom: 10px;
}

.detail-box p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* Button Styling */
.btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.btn:hover {
    background-color: #2980b9;
}

